<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>煤炭管理系统</title>
    <link rel="stylesheet" href="/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/lib/layui/css/layui-theme-custom.css">
    <link rel="stylesheet" href="/static/css/member.css">
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <#include "/base/main-header.ftl">

    <#include "/base/main-left.ftl">
    <div class="layui-body">
        <!-- 内容主体区域  -->
        <div class="site-title">
            <fieldset>
                <legend>
                    <a class="site-title-text">供应商查看</a>
                </legend>

            </fieldset>
        </div>

        <div class="table-box">
            <div class="site-text site-block">
                <form action="/squery.do" class="layui-form">
                    <div class="layui-form-item">
                        <label for="memberName" class="myLable">供应商名称：</label>
                        <div class="layui-input-block input-search-width layui-inline">
                            <input type="text" name="supplierName"   placeholder="请输入供应商名称" autocomplete="off" class="layui-input">
                        </div>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <button class="layui-btn layui-btn-radius layui-inline"  type="submit">查询</button>
                    </div>

                </form>
            </div>
            <table class="layui-table" lay-size="lg">
                <col width="100px">
                <thead>
                    <tr>
                        <th>序号</th>
                        <th>供应商名称</th>
                        <th>组织机构代码</th>
                        <th>法人</th>
                        <th>联系电话</th>
                        <th>注册摘要信息</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                <#list suppliers as su>
                <tr>
                    <td>${su.supplierid}</td>
                    <td>${su.name}</td>
                    <td>${su.code}</td>
                    <td>${su.corporation}</td>
                    <td>${su.linktel}</td>
                    <td>${su.mexplain}</td>
                    <td><a href="/supplierDetails?id=${su.supplierid}">查看</a></td>
                </tr>
               </#list>
                </tbody>
            </table>
        </div>
        <br><br><br>


    </div>
    <#include "/base/main-footer.ftl">
</div>

<script src="/static/lib/layui/layui.js"></script>
<script>
    layui.use(['layer', 'form', 'element', 'jquery','table'], function () {
        let layer = layui.layer, form = layui.form, $ = layui.$, table = layui.table;

    });
</script>
</body>
</html>